﻿namespace Mangosoft.DiceCopy.Infrastructure.Data.MainBoundedContext.UnitOfWork.Mapping {

    using System.Data.Entity.ModelConfiguration;
    using Mangosoft.DiceCopy.Domain.MainBoundedContext.Aggregates.NewsAgg;

    class NewsEntityConfiguration : EntityTypeConfiguration<News> {

        public NewsEntityConfiguration() {
            //configure keys and properties
            this.ToTable("dc_news");
            this.HasKey(n => n.Id);
        }
    }
}
